package cn.yunhe.entity;

public class Type {
	private int tid;
	private String tname;
	private int tstate;
	private int pid;
	private Supp supp;
	
	
	
	public Type() {
		super();
	}
	public Type(String tname, int tstate, int pid) {
		super();
		this.tname = tname;
		this.tstate = tstate;
		this.pid = pid;
	}
	public Type(int tid, int tstate) {
		super();
		this.tid = tid;
		this.tstate = tstate;
	}
	public Type(int tid, String tname, int pid) {
		super();
		this.tid = tid;
		this.tname = tname;
		this.pid = pid;
	}
	public Type(int tid) {
		super();
		this.tid = tid;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public int getTstate() {
		return tstate;
	}
	public void setTstate(int tstate) {
		this.tstate = tstate;
	}
	public Supp getSupp() {
		return supp;
	}
	public void setSupp(Supp supp) {
		this.supp = supp;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	
	
}
